Page({
  data: {
      imgUrls: [
          'http://sta.haois.me/common/img/qr/appQr_12.jpg',
          'http://sta.haois.me/common/img/qr/appQr_mini_12.jpg'
      ],
    indicatorDots: true,
    vertical: false,
    autoplay: false,
    interval: 2000,
    duration: 500
  },
  changeIndicatorDots: function (e) {
    this.setData({
      indicatorDots: !this.data.indicatorDots
    })
  },
  changeAutoplay: function (e) {
    this.setData({
      autoplay: !this.data.autoplay
    })
  },
  intervalChange: function (e) {
    this.setData({
      interval: e.detail.value
    })
  },
  durationChange: function (e) {
    this.setData({
      duration: e.detail.value
    })
  },
  onShareAppMessage: function () {
      return {
          title: '手机群录小程序',
          path: 'pages/app/mini/mini'
      }
  }
})
